//
//  AppController.h
//  iMine
//
//  Created by gaoxiang on 09-3-30.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class PreferencesController;
@class TopListWindowController;

@interface AppController : NSObject {
	PreferencesController *preferencesController;
	TopListWindowController *topListWindowController;
	IBOutlet NSWindow *mineWindow;
	IBOutlet NSWindow *winSheetWindow;
	IBOutlet NSTextField *userNameField;
	IBOutlet NSTextField *elapsedSecondField;
	IBOutlet NSButton *uploadCheckButton;
}

+ (AppController *)sharedAppController;

- (IBAction)openPreferences:(id)sender;
- (IBAction)openTopListWindow:(id)sender;
- (IBAction)winSheetSendOK:(id)sender;

@end
